$OpenBSD: patch-xwin_c,v 1.1 2017/04/27 20:51:44 espie Exp $
--- xwin.c.orig	Thu Apr 27 22:50:04 2017
+++ xwin.c	Thu Apr 27 22:50:44 2017
@@ -50,7 +50,7 @@ extern int xmainloop();
 extern int xclear();
 extern int xrepaint();
 extern int xrepaint_noclear();
-extern int xdrawrect();
+extern void xdrawrect();
 
 /* internal routines */
 static void help_popup();
@@ -377,6 +377,7 @@ xrepaint_noclear()
 	repaint(xwa.width, xwa.height);
 }
 
+void
 xdrawrect(name, size, x, y, width, height)
 char *name;
 int size;
